"use strict";

$(".goods-items").click(function () {
  $(".goods-items").removeClass("active"), $(this).addClass("active");
}), $(".custom input").on("input", function () {
  var s = $(this).val();s = s.replace(/\D/g, ""), $(this).val(s), $(".goods-items").removeClass("active");
});